package com.shycloud.mido.member.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shycloud.mido.member.api.entity.SysUser;
import org.apache.ibatis.annotations.Param;

public interface SysUserMapper extends BaseMapper<SysUser> {

	/**
	 * 添加后台管理用户
	 *
	 * @param sysUser
	 * @return int
	 * @author nianhua.jiang
	 * @date 2020/7/17 18:40
	 */
	int insertSysUser(@Param("sysUser") SysUser sysUser);

	List<SysUser> selectListAdmin(@Param("username") String username);
}